package sdfi.lee.Entity;

import sdfi.lee.DAO.PersonDAO;
import sdfi.lee.Entity.base.BasePerson;



public class Person extends BasePerson {
	private static final long serialVersionUID = 1L;

/*[CONSTRUCTOR MARKER BEGIN]*/
	public Person () {
		super();
	}

	/**
	 * Constructor for primary key
	 */
	public Person (java.lang.Integer id) {
		super(id);
	}
	public String execute()
	{
		return new PersonDAO().personAdd(this);
	}
	public String modify()
	{
		//System.out.println(this.getId());
		//return "success";
		return new PersonDAO().personModify(this);
	}
/*[CONSTRUCTOR MARKER END]*/


}